package com.qf.service.impl;

import com.qf.entity.Subject;
import com.qf.mapper.SubjectMapper;
import com.qf.service.SubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author cuicui
 * @Description
 * @Date 2025-8-16
 */
@Service
public class SubjectServiceImpl implements SubjectService {
    @Autowired
    private SubjectMapper subjectMapper;
    @Override
    public Subject findSubjectById(int id) {
        Subject subject = subjectMapper.findSubjectById(id);
        return subject;
    }
}
